package com.azu.bitmapworker.common.recycle;

import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable.Drawable;
import android.util.AttributeSet;
import android.widget.ImageView;

/**
 * Created by zhangmian on 14-8-20.
 */
public class RecyclingBitmapImageView extends ImageView {

	public RecyclingBitmapImageView(Context context) {
		super(context);
	}

	public RecyclingBitmapImageView(Context context, AttributeSet attrs) {
		super(context, attrs);
	}

	public RecyclingBitmapImageView(Context context, AttributeSet attrs, int defStyle) {
		super(context, attrs, defStyle);
	}

	@Override
	public void setImageBitmap(Bitmap bm) {
		super.setImageBitmap(bm);
	}

	@Override
	public void setImageDrawable(Drawable drawable) {
		super.setImageDrawable(drawable);
	}

	@Override
	protected void onDraw(Canvas canvas) {
		super.onDraw(canvas);
	}
}
